package com.sj.mbt.app;

import android.content.Context;

import com.alibaba.android.arouter.launcher.ARouter;
import com.sj.friendcircle.lib.api.AppContext;
import com.sj.friendcircle.lib.manager.localphoto.LocalPhotoManager;
import com.tencent.bugly.crashreport.CrashReport;

import cn.rongcloud.im.App;

/**
 * Created by Administrator on 2018/7/9 0009.
 */

public class MbtApp extends App{

    private static MbtApp instance;

    public static MbtApp getInstance() {
        return instance;
    }

    @Override
    public void onCreate() {
        super.onCreate();

        CrashReport.initCrashReport(getApplicationContext(), "22f375529d", true);


        /**
         * 初始化路由
         */
        ARouter.openLog();
        ARouter.openDebug();
        ARouter.init(this);
       // AppContext.initARouter();
        LocalPhotoManager.INSTANCE.registerContentObserver(null);
    }

}
